<!--
 * @Descripttion: 
 * @version: 0.0.0.1
 * @Author: chenyf15482
 * @Date: 2023-01-30 15:11:05
 * @LastEditors: chenyf15482
 * @LastEditTime: 2023-01-30 15:11:35
-->
<script lang="ts">
import { defineComponent, h } from 'vue'

export default defineComponent({
  props: {
    params: {
      type: Object,
      default: () => { return {} }
    },
    toRender: {
      type: Function,
      default: () => ''
    }
  },
  render() {
    const tmp = this.$slots.default?.({
        row: {},
        column: {},
        $index: -1,
      })
    console.log(tmp);
    return h('div', tmp);
    // this.toRender(h, this.params);
  }
})
</script>